//
//  AddressBooksTableViewCell.h
//  MobileOffice
//
//  Created by jjkj on 16/10/24.
//  Copyright © 2016年 liaoningjujin. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^AddresBookBlcok) (UIScrollView *scrollView);
typedef void (^AddresBookClickBlcok) (NSInteger row);
@interface AddressBooksTableViewCell : UITableViewCell<UIScrollViewDelegate>

@property (strong, nonatomic)  UIImageView *headImageView;//头像
@property (strong, nonatomic)  UIImageView *statusImageView;//工作状态背景
@property (strong, nonatomic)  UIButton *statusButton;//工作状态
@property (strong, nonatomic)  UILabel *nameLabel;//名称
@property (strong, nonatomic)  UILabel *jobLabel;//职位
@property (strong, nonatomic)  UILabel *lineLabel;//分割线
@property (strong, nonatomic)  UIScrollView *backScrollView;
@property (assign, nonatomic)  NSInteger row;

@property (strong, nonatomic)  UIButton *msgButton;//消息button
@property (strong, nonatomic)  UIButton *phoneButton;//电话button
@property (strong, nonatomic)  UIButton *smsButton;//短信button

@property (strong, nonatomic) AddresBookBlcok myBlock;
@property (strong, nonatomic) AddresBookClickBlcok clickBlock;
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier isLeader:(BOOL)isLeader;
@end
